package com.caipiao.mapper;

import com.caipiao.pojo.SUser;

import java.util.List;
import java.util.Map;

public interface SUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SUser record);

    int insertSelective(SUser record);

    SUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SUser record);

    int updateByPrimaryKey(SUser record);
    //根据手机号查询用户
    SUser selectByMap(Map<String,Object> map);
    //邀请好友列表
    List<SUser> selectInvitByUserId(String userId);
}